Fix redbox style
Differential Revision: D6689447 fbshipit-source-id: de6b1295e53c46bdf99f0f4a26130f516763ee66
This commit is contained in:
parent
e3c27f585a
commit
f363dfe766
|
@ -10,6 +10,8 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:divider="@null"
|
||||||
|
android:dividerHeight="0dp"
|
||||||
/>
|
/>
|
||||||
<View
|
<View
|
||||||
android:id="@+id/rn_redbox_line_separator"
|
android:id="@+id/rn_redbox_line_separator"
|
||||||
|
@ -54,56 +56,24 @@
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/rn_redbox_dismiss_button"
|
android:id="@+id/rn_redbox_dismiss_button"
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_margin="4dp"
|
|
||||||
android:text="@string/catalyst_dismiss_button"
|
android:text="@string/catalyst_dismiss_button"
|
||||||
android:textColor="@android:color/white"
|
style="@style/redboxButton"
|
||||||
android:textSize="14sp"
|
|
||||||
android:alpha="0.5"
|
|
||||||
style="?android:attr/borderlessButtonStyle"
|
|
||||||
android:gravity="center_horizontal|top"
|
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/rn_redbox_reload_button"
|
android:id="@+id/rn_redbox_reload_button"
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_margin="4dp"
|
|
||||||
android:text="@string/catalyst_reload_button"
|
android:text="@string/catalyst_reload_button"
|
||||||
android:textColor="@android:color/white"
|
style="@style/redboxButton"
|
||||||
android:textSize="14sp"
|
|
||||||
android:alpha="0.5"
|
|
||||||
style="?android:attr/borderlessButtonStyle"
|
|
||||||
android:gravity="center_horizontal|top"
|
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/rn_redbox_copy_button"
|
android:id="@+id/rn_redbox_copy_button"
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_margin="4dp"
|
|
||||||
android:text="@string/catalyst_copy_button"
|
android:text="@string/catalyst_copy_button"
|
||||||
android:textColor="@android:color/white"
|
style="@style/redboxButton"
|
||||||
android:textSize="14sp"
|
|
||||||
android:alpha="0.5"
|
|
||||||
style="?android:attr/borderlessButtonStyle"
|
|
||||||
android:gravity="center_horizontal|top"
|
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/rn_redbox_report_button"
|
android:id="@+id/rn_redbox_report_button"
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_margin="4dp"
|
|
||||||
android:text="@string/catalyst_report_button"
|
android:text="@string/catalyst_report_button"
|
||||||
android:textColor="@android:color/white"
|
|
||||||
android:textSize="14sp"
|
|
||||||
android:alpha="0.5"
|
|
||||||
style="?android:attr/borderlessButtonStyle"
|
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
android:gravity="center_horizontal|top"
|
style="@style/redboxButton"
|
||||||
/>
|
/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<style name="Theme"/>
|
<style name="Theme" />
|
||||||
<style name="Theme.Catalyst"/>
|
<style name="Theme.Catalyst"/>
|
||||||
<style name="Theme.Catalyst.RedBox">
|
<style name="Theme.Catalyst.RedBox">
|
||||||
<item name="android:windowBackground">@color/catalyst_redbox_background</item>
|
<item name="android:windowBackground">@color/catalyst_redbox_background</item>
|
||||||
|
@ -13,4 +13,14 @@
|
||||||
<item name="android:windowEnterAnimation">@anim/catalyst_push_up_in</item>
|
<item name="android:windowEnterAnimation">@anim/catalyst_push_up_in</item>
|
||||||
<item name="android:windowExitAnimation">@anim/catalyst_push_up_out</item>
|
<item name="android:windowExitAnimation">@anim/catalyst_push_up_out</item>
|
||||||
</style>
|
</style>
|
||||||
|
<style name="redboxButton">
|
||||||
|
<item name="android:layout_width">0dp</item>
|
||||||
|
<item name="android:layout_height">wrap_content</item>
|
||||||
|
<item name="android:layout_weight">1</item>
|
||||||
|
<item name="android:layout_margin">4dp</item>
|
||||||
|
<item name="android:background">@null</item>
|
||||||
|
<item name="android:gravity">center</item>
|
||||||
|
<item name="android:textColor">#dddddd</item>
|
||||||
|
<item name="android:textSize">14sp</item>
|
||||||
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in New Issue