Skip to content

Commit

Permalink
Shorten app name when it is too long
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersantos committed Jun 5, 2015
1 parent 8b7b97f commit 1f2abd5
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions app/src/main/res/layout/app_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,21 @@
<TextView
android:id="@+id/txtName"
android:fontFamily="sans-serif-thin"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="70dp"
android:text="App"
android:textColor="@android:color/black"
android:ellipsize="end"
android:singleLine="true"
android:textSize="25dp" />
<TextView
android:id="@+id/txtApk"
android:fontFamily="sans-serif-thin"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginTop="40dp"
android:text="Package"
Expand Down

0 comments on commit 1f2abd5

Please sign in to comment.