Skip to content

Commit

Permalink
#59: working on color details fragment layout
Browse files Browse the repository at this point in the history
  • Loading branch information
fasteque committed Oct 29, 2015
1 parent 9b3f924 commit f42601c
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions android-rgb-tool/src/main/res/layout/fragment_color_sample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,33 @@
<LinearLayout
android:id="@+id/firstColorSample"
android:layout_width="match_parent"
android:background="@color/primary"
app:layout_heightPercent="50%"/>
app:layout_heightPercent="30%">

<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/appbar_padding_top"
app:cardCornerRadius="3dp"
app:cardElevation="2dp"
app:cardUseCompatPadding="true">

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

<LinearLayout
android:id="@+id/secondColorSample"
android:layout_width="match_parent"
android:background="@color/primary"
android:layout_below="@id/firstColorSample"
app:layout_heightPercent="50%"/>
app:layout_heightPercent="30%">

<android.support.v7.widget.CardView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/appbar_padding_top"
app:cardCornerRadius="3dp"
app:cardElevation="2dp"
app:cardUseCompatPadding="true">
</android.support.v7.widget.CardView>
</LinearLayout>

</android.support.percent.PercentRelativeLayout>

0 comments on commit f42601c

Please sign in to comment.