Skip to content

Commit

Permalink
#59: set sample text resource string
Browse files Browse the repository at this point in the history
  • Loading branch information
fasteque committed Oct 31, 2015
1 parent f42601c commit fd13592
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions android-rgb-tool/src/main/res/layout/fragment_color_sample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
app:cardElevation="2dp"
app:cardUseCompatPadding="true">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:padding="@dimen/activity_horizontal_margin"
android:text="@string/color_details_text_sample"/>

</android.support.v7.widget.CardView>
</LinearLayout>

Expand All @@ -32,6 +39,14 @@
app:cardCornerRadius="3dp"
app:cardElevation="2dp"
app:cardUseCompatPadding="true">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:padding="@dimen/activity_horizontal_margin"
android:text="@string/color_details_text_sample"/>

</android.support.v7.widget.CardView>
</LinearLayout>

Expand Down
1 change: 1 addition & 0 deletions android-rgb-tool/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
<!-- Color details -->
<string name="color_details_as_text_title">Text</string>
<string name="color_details_as_background_title">Background</string>
<string name="color_details_text_sample">Lorem ipsum dolor sit amet&#8230;</string>

<!-- Permissions -->
<string name="rationale_external_storage">Storage access is required to save and open photos.</string>
Expand Down

0 comments on commit fd13592

Please sign in to comment.