Added settings and description label to FeedInfoActivity, improved layout

This commit is contained in:
daniel oeh 2013-10-08 23:22:04 +02:00
parent cb56bf053c
commit cdd9a0dfde
2 changed files with 50 additions and 28 deletions

View File

@ -26,7 +26,8 @@
android:layout_margin="4dp"
android:layout_toRightOf="@id/imgvCover"
android:textSize="@dimen/text_size_large"
android:textStyle="bold" />
android:textStyle="bold"
android:textColor="?android:attr/textColorPrimary"/>
<View
android:id="@+id/divider"
@ -65,7 +66,7 @@
android:layout_alignParentLeft="true"
android:layout_margin="8dp"
android:text="@string/author_label"
android:textStyle="bold" />
android:textColor="?android:attr/textColorPrimary"/>
<TextView
android:id="@+id/txtvAuthor"
@ -83,7 +84,7 @@
android:layout_below="@id/txtvAuthor"
android:layout_margin="8dp"
android:text="@string/language_label"
android:textStyle="bold" />
android:textColor="?android:attr/textColorPrimary"/>
<TextView
android:id="@+id/txtvLanguage"
@ -93,25 +94,44 @@
android:layout_below="@id/txtvAuthor"
android:layout_margin="8dp"
android:layout_toRightOf="@id/center_divider"/>
<CheckBox
android:id="@+id/cbxAutoDownload"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@id/txtvLanguage"
android:layout_margin="8dp"
android:text="@string/auto_download_label"
android:enabled="false"
android:textStyle="bold" />
</RelativeLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginBottom="8dp"
android:layout_marginTop="24dp"
android:textSize="@dimen/text_size_medium"
android:textColor="?android:attr/textColorPrimary"
android:text="@string/description_label"/>
<TextView
android:id="@+id/txtvDescription"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"/>
<TextView
android:id="@+id/txtvSettings"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="@string/podcast_settings_label"
android:textSize="@dimen/text_size_medium"
android:textColor="?android:attr/textColorPrimary"
android:layout_marginLeft="8dp"
android:layout_marginBottom="8dp"
android:layout_marginTop="24dp"/>
<CheckBox
android:id="@+id/cbxAutoDownload"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="@string/auto_download_label"
android:enabled="false"
android:textColor="?android:attr/textColorPrimary"/>
</LinearLayout>
</ScrollView>

View File

@ -34,6 +34,7 @@
<string name="cancel_label">Cancel</string>
<string name="author_label">Author</string>
<string name="language_label">Language</string>
<string name="podcast_settings_label">Settings</string>
<string name="cover_label">Cover</string>
<string name="error_label">Error</string>
<string name="error_msg_prefix">An error occurred:</string>
@ -41,6 +42,7 @@
<string name="external_storage_error_msg">No external storage is available. Please make sure that external storage is mounted so that the app can work properly.</string>
<string name="chapters_label">Chapters</string>
<string name="shownotes_label">Shownotes</string>
<string name="description_label">Description</string>
<string name="most_recent_prefix">Most Recent Episode:\u0020</string>
<string name="episodes_suffix">\u0020episodes</string>
<string name="published_prefix">Published:\u0020</string>