|
@@ -17,11 +17,11 @@ import android.widget.TextView;
|
17
|
17
|
import com.reactnativenavigation.anim.TopBarAnimator;
|
18
|
18
|
import com.reactnativenavigation.anim.TopBarCollapseBehavior;
|
19
|
19
|
import com.reactnativenavigation.interfaces.ScrollEventListener;
|
|
20
|
+import com.reactnativenavigation.parse.params.Bool;
|
20
|
21
|
import com.reactnativenavigation.parse.params.Button;
|
21
|
22
|
import com.reactnativenavigation.parse.params.Color;
|
22
|
23
|
import com.reactnativenavigation.parse.params.Fraction;
|
23
|
24
|
import com.reactnativenavigation.parse.params.Number;
|
24
|
|
-import com.reactnativenavigation.parse.params.Bool;
|
25
|
25
|
|
26
|
26
|
import java.util.ArrayList;
|
27
|
27
|
|
|
@@ -47,6 +47,8 @@ public class TopBar extends AppBarLayout implements ScrollEventListener.ScrollAw
|
47
|
47
|
this.animator = new TopBarAnimator(this);
|
48
|
48
|
this.parentView = parentView;
|
49
|
49
|
addView(titleBar);
|
|
50
|
+ titleBar.setContentDescription("titleBar");
|
|
51
|
+ setContentDescription("TopBar");
|
50
|
52
|
}
|
51
|
53
|
|
52
|
54
|
public void setTitle(String title) {
|