| <?xml version="1.0" encoding="utf-8"?> |
| <org.leafos.customization.picker.font.FontSectionView |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:orientation="horizontal" |
| android:paddingBottom="@dimen/section_bottom_padding" |
| android:paddingHorizontal="@dimen/section_horizontal_padding" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"> |
| |
| <LinearLayout |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:layout_weight="1" |
| android:orientation="vertical"> |
| |
| <TextView |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:text="@string/preview_name_font" |
| style="@style/SectionTitleTextStyle" /> |
| |
| <TextView |
| android:id="@+id/font_section_description" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| style="@style/SectionSubtitleTextStyle"/> |
| </LinearLayout> |
| |
| <FrameLayout |
| android:id="@+id/font_section_tile" |
| android:layout_width="@dimen/option_tile_width" |
| android:layout_height="@dimen/option_tile_width" |
| android:scaleType="center" |
| android:background="@drawable/option_border_color"> |
| <TextView |
| android:id="@+id/thumbnail_text" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:textSize="@dimen/font_comonent_option_thumbnail_size" |
| android:textAlignment="center" |
| android:textColor="?android:attr/colorForeground" |
| android:text="@string/font_component_option_thumbnail"/> |
| </FrameLayout> |
| |
| </org.leafos.customization.picker.font.FontSectionView> |