Skip to content

Commit

Permalink
change the layout of content placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingRadish committed Feb 14, 2017
1 parent 26d9662 commit efb06e1
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions app/src/main/res/layout/item_note_detail_placeholder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,26 @@
android:layout_marginBottom="4dp"
tools:text="Leanote API" />

<LinearLayout
<TextView
android:id="@+id/tv_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
android:layout_height="match_parent"
android:background="@drawable/shape_placeholder"
android:textSize="14sp" />

<TextView
android:id="@+id/tv_content"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:fontFamily="sans-serif"
android:maxHeight="120dp"
android:textColor="@color/transparent"
android:background="@drawable/shape_placeholder"
android:maxLines="6"
android:textSize="14sp"
android:text="Enim consequat enim pariatur id anim Ut Excepteur dolor in laborum incididunt veniam quis proident. in consequat aliquip in minim adipisicing exercitation sunt sed qui pariatur consequat commodo ea do." />
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="4dp"
android:background="@drawable/shape_placeholder"
android:textSize="14sp" />

</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="4dp"
android:background="@drawable/shape_placeholder"
android:textSize="14sp" />

</LinearLayout>

Expand Down

0 comments on commit efb06e1

Please sign in to comment.