Skip to content

Commit

Permalink
Fixed issue #40: text resizing on phone with normal screen size.
Browse files Browse the repository at this point in the history
  • Loading branch information
m4gr3d committed Feb 9, 2015
1 parent ebf15ec commit 51430d9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
Binary file modified ClientLib/mobile/libs/AidlLib.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion ServiceApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ android {
applicationId 'org.droidplanner.services.android'
minSdkVersion 14
targetSdkVersion 21
versionCode 10203
versionCode 10204
versionName getGitVersion()
}

Expand Down
27 changes: 11 additions & 16 deletions ServiceApp/res/layout/item_recommended_app_info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,34 +43,29 @@
android:padding="2dp"
/>

<ScrollView
android:id="@+id/app_description_container"
<TextView
android:layout_alignStart="@+id/app_name"
android:layout_alignLeft="@+id/app_name"
android:layout_below="@+id/app_name"
android:layout_width="match_parent"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:layout_height="80dp">

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/app_description"
android:gravity="center_vertical"
android:padding="2dp"
android:textAppearance="?android:textAppearanceSmall"
android:textColor="@android:color/black"
tools:text="Tower is 3DR’s powerful and intuitive new flight control program. "/>
</ScrollView>
android:minHeight="64dp"
android:layout_height="wrap_content"
android:id="@+id/app_description"
android:gravity="center_vertical"
android:padding="2dp"
android:textAppearance="?android:textAppearanceSmall"
android:textColor="@android:color/black"
tools:text="Tower is 3DR’s powerful and intuitive new flight control program. "/>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:id="@+id/action_button_container"
android:visibility="gone"
android:layout_below="@+id/app_description_container">
android:visibility="visible"
android:layout_below="@+id/app_description">

<View
android:layout_width="match_parent"
Expand Down

0 comments on commit 51430d9

Please sign in to comment.