diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/v2_fragment_pager_list.xml | 67 |
1 files changed, 42 insertions, 25 deletions
diff --git a/res/layout/v2_fragment_pager_list.xml b/res/layout/v2_fragment_pager_list.xml index 70c1b3c..fc3c26e 100644 --- a/res/layout/v2_fragment_pager_list.xml +++ b/res/layout/v2_fragment_pager_list.xml @@ -40,39 +40,56 @@ <include layout="@layout/v2_nav_bar_preview_item"/> </RelativeLayout> </FrameLayout> - <RelativeLayout + <FrameLayout android:id="@+id/title_card" - android:layout_below="@id/shadow_frame" android:layout_width="@dimen/theme_preview_width" android:layout_height="48dp" + android:layout_below="@id/shadow_frame" android:layout_centerHorizontal="true" android:background="@drawable/card_themepreview_bg"> - <TextView - android:id="@+id/title" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:layout_alignParentLeft="true" - android:layout_marginStart="16dp" - android:gravity="center" - android:ellipsize="end" - android:textColor="#78000000"/> + <RelativeLayout + android:id="@+id/title_layout" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <TextView + android:id="@+id/title" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_alignParentLeft="true" + android:layout_marginStart="16dp" + android:gravity="center" + android:ellipsize="end" + android:textColor="#78000000"/> - <ImageView - android:id="@+id/apply" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:layout_toLeftOf="@+id/overflow" - android:layout_marginRight="16dp" - android:src="@drawable/ic_theme_apply2"/> + <ImageView + android:id="@+id/apply" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_toLeftOf="@+id/overflow" + android:layout_marginRight="16dp" + android:src="@drawable/ic_theme_apply2"/> - <ImageView - android:id="@+id/overflow" - android:layout_width="wrap_content" + <ImageView + android:id="@+id/overflow" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_alignParentRight="true" + android:layout_marginRight="8dp" + android:src="@drawable/ic_overflow_dark"/> + </RelativeLayout> + <ProgressBar + android:id="@+id/apply_progress" + android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_alignParentRight="true" - android:layout_marginRight="8dp" - android:src="@drawable/ic_overflow_dark"/> - </RelativeLayout> + android:layout_gravity="center_vertical|right" + android:padding="@dimen/apply_progress_padding" + android:indeterminate="false" + android:max="100" + android:progress="0" + android:progressDrawable="@drawable/apply_progress_bar" + android:visibility="gone" + style="@android:style/Widget.ProgressBar.Horizontal"/> + </FrameLayout> </RelativeLayout> </ScrollView> </LinearLayout>
\ No newline at end of file |