Merge "Update preview border. Bug: 27396174" into nyc-dev
This commit is contained in:
@@ -14,9 +14,28 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
android:shape="rectangle" >
|
<item
|
||||||
<stroke
|
android:top="0dp"
|
||||||
android:width="8dp"
|
android:bottom="0dp"
|
||||||
android:color="@color/seek_bar_preference_preview_border_tint" />
|
android:right="0dp"
|
||||||
</shape>
|
android:left="0dp" >
|
||||||
|
<shape
|
||||||
|
android:shape="rectangle" >
|
||||||
|
<stroke
|
||||||
|
android:width="@dimen/preview_pager_padding"
|
||||||
|
android:color="?android:attr/colorPrimary" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
<item
|
||||||
|
android:bottom="0dp"
|
||||||
|
android:right="0dp"
|
||||||
|
android:left="0dp" >
|
||||||
|
<shape
|
||||||
|
android:shape="rectangle"
|
||||||
|
android:height="?android:attr/actionBarSize" >
|
||||||
|
<solid
|
||||||
|
android:color="?android:attr/colorPrimary" />
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
</layer-list>
|
||||||
|
@@ -14,37 +14,28 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
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:foreground="@drawable/preview_seek_bar_outline" >
|
android:orientation="vertical"
|
||||||
|
android:padding="@dimen/preview_pager_padding"
|
||||||
|
android:background="@drawable/preview_seek_bar_outline" >
|
||||||
|
|
||||||
<android.support.v4.view.ViewPager
|
<android.support.v4.view.ViewPager
|
||||||
android:id="@+id/preview_pager"
|
android:id="@+id/preview_pager"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="0dp"
|
||||||
|
android:layout_weight="1"
|
||||||
android:background="?android:attr/colorBackgroundFloating" />
|
android:background="?android:attr/colorBackgroundFloating" />
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:layout_alignParentTop="false"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:layout_margin="8dp"
|
|
||||||
android:background="@color/seek_bar_preference_preview_border_tint" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="?android:attr/actionBarSize"
|
android:layout_height="?android:attr/actionBarSize"
|
||||||
android:layout_marginStart="32dp"
|
android:paddingStart="32dp"
|
||||||
android:layout_alignParentStart="true"
|
android:gravity="start|center"
|
||||||
android:layout_alignParentTop="false"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="@string/screen_zoom_preview_title"
|
android:text="@string/screen_zoom_preview_title"
|
||||||
android:textAppearance="@android:style/TextAppearance.Material.Widget.ActionBar.Title"
|
android:textAppearance="@android:style/TextAppearance.Material.Widget.ActionBar.Title"
|
||||||
android:textColor="@color/seek_bar_preference_preview_text"
|
android:textColor="@color/seek_bar_preference_preview_text" />
|
||||||
android:elevation="2dp"/>
|
</LinearLayout>
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
|
@@ -124,7 +124,5 @@
|
|||||||
<color name="message_icon_text_outgoing">#ffffffff</color>
|
<color name="message_icon_text_outgoing">#ffffffff</color>
|
||||||
|
|
||||||
<color name="seek_bar_preference_preview_text">#fff</color>
|
<color name="seek_bar_preference_preview_text">#fff</color>
|
||||||
<!-- Black at 80% opacity -->
|
|
||||||
<color name="seek_bar_preference_preview_border_tint">#cc000000</color>
|
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@@ -291,4 +291,7 @@
|
|||||||
<!-- Restricted icon in switch bar -->
|
<!-- Restricted icon in switch bar -->
|
||||||
<dimen name="restricted_icon_margin_end">16dp</dimen>
|
<dimen name="restricted_icon_margin_end">16dp</dimen>
|
||||||
|
|
||||||
|
<!-- Display Size and Font Size preview screen -->
|
||||||
|
<dimen name="preview_pager_padding">8dp</dimen>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
Reference in New Issue
Block a user