Permalink
Browse files

lots and lots of lint fixes AND other memory allocation fixes (?)

  • Loading branch information...
menny committed Jan 18, 2013
1 parent a7723e1 commit 28e7fc0899510fc4f231cf8f3429f8ac8e4765f2
Showing with 928 additions and 572 deletions.
  1. +0 −32 res/anim/gesture_slide_threshold_reached.xml
  2. +0 −25 res/drawable/ic_suggest_scroll_background.xml
  3. BIN res/drawable/ic_suggest_strip_scroll_left_arrow.png
  4. BIN res/drawable/ic_suggest_strip_scroll_right_arrow.png
  5. +128 −75 res/layout/changelog.xml
  6. +113 −32 res/layout/main_fragment_1_main.xml
  7. +87 −18 res/layout/main_fragment_2_links.xml
  8. +230 −43 res/layout/main_fragment_3_credits.xml
  9. +1 −1 res/layout/welcome_howto.xml
  10. +0 −4 res/values/colors.xml
  11. +0 −12 res/values/dimens.xml
  12. +1 −11 res/values/strings.xml
  13. 0 res/{layout → xml}/prefs.xml
  14. 0 res/{layout → xml}/prefs_addon_bottom_row_selector.xml
  15. 0 res/{layout → xml}/prefs_addon_extension_keyboard_selector.xml
  16. 0 res/{layout → xml}/prefs_addon_keyboard_theme_selector.xml
  17. 0 res/{layout → xml}/prefs_addon_quick_keys_selector.xml
  18. 0 res/{layout → xml}/prefs_addon_top_row_selector.xml
  19. 0 res/{layout → xml}/prefs_dictionaries.xml
  20. 0 res/{layout → xml}/prefs_keyboards.xml
  21. 0 res/{layout → xml}/prefs_tweaks.xml
  22. 0 res/{layout → xml}/spell_checker_settings.xml
  23. +56 −46 src/com/anysoftkeyboard/AnySoftKeyboard.java
  24. +1 −1 src/com/anysoftkeyboard/dictionaries/AutoDictionary.java
  25. +2 −2 src/com/anysoftkeyboard/keyboards/ExternalAnyKeyboard.java
  26. +91 −82 src/com/anysoftkeyboard/keyboards/KeyboardCondensor.java
  27. +163 −134 src/com/anysoftkeyboard/keyboards/views/AnyKeyboardBaseView.java
  28. +45 −44 src/com/anysoftkeyboard/keyboards/views/AnyKeyboardView.java
  29. +5 −5 src/com/anysoftkeyboard/keyboards/views/CandidateView.java
  30. +1 −1 src/com/anysoftkeyboard/ui/settings/SeekBarPreference.java
  31. +1 −1 src/com/anysoftkeyboard/ui/tutorials/TipsActivity.java
  32. +2 −2 src/com/anysoftkeyboard/utils/XmlUtils.java
  33. +1 −1 src/com/menny/android/anysoftkeyboard/AnyApplication.java

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
Binary file not shown.
Binary file not shown.
View
@@ -1,78 +1,131 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent">
<RelativeLayout
android:id="@+id/changelog_title_layout"
android:layout_alignParentTop="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<ImageView android:src="@drawable/ic_launcher" android:layout_width="wrap_content" android:layout_margin="10dp" android:layout_height="wrap_content" android:id="@+id/changelog_icon" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:scaleType="centerInside"/>
<TextView
android:id="@+id/changelog_app_name"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:textStyle="bold"
android:gravity="center"
android:textSize="22sp"
android:text="@string/ime_name"
android:textColor="#FFF"
android:layout_toRightOf="@id/changelog_icon"
android:layout_alignParentTop="true"
android:paddingTop="10dp"
/>
<TextView
android:id="@+id/changelog_label"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:textStyle="bold"
android:gravity="center"
android:textSize="20sp"
android:text="@string/changelog"
android:layout_toRightOf="@id/changelog_icon"
android:layout_below="@id/changelog_app_name"
android:textColor="#FFF"/>
<TextView
android:id="@+id/changelog_web_url"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:gravity="center"
android:textSize="14sp"
android:autoLink="web"
android:text="http://s.evendanan.net/ask"
android:layout_toRightOf="@id/changelog_icon"
android:layout_below="@id/changelog_label"
android:textColor="#BBB"/>
<LinearLayout android:id="@+id/changelog_gplus"
android:layout_toRightOf="@id/changelog_icon"
android:layout_below="@id/changelog_web_url"
android:layout_margin="4dp" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal">
<ImageView android:layout_height="wrap_content" android:src="@drawable/gplus" android:layout_width="wrap_content"></ImageView>
<TextView android:layout_marginLeft="4dp" android:text="http://gplus.to/anysoftkeyboard" android:autoLink="web" android:textSize="12sp" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
</LinearLayout>
<LinearLayout android:id="@+id/changelog_twitter"
android:layout_toRightOf="@id/changelog_icon"
android:layout_below="@id/changelog_gplus"
android:layout_margin="4dp" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal">
<ImageView android:layout_height="wrap_content" android:src="@drawable/twitter" android:layout_width="wrap_content"></ImageView>
<TextView android:layout_marginLeft="4dp" android:text="http://twitter.com/anysoftkeyboard" android:autoLink="web" android:textSize="12sp" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
</LinearLayout>
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<RelativeLayout
android:id="@+id/changelog_title_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true" >
<ImageView
android:id="@+id/changelog_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_margin="10dp"
android:contentDescription="@string/ime_name"
android:scaleType="centerInside"
android:src="@drawable/ic_launcher" />
<TextView
android:id="@+id/changelog_app_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_toRightOf="@id/changelog_icon"
android:gravity="center"
android:paddingTop="10dp"
android:text="@string/ime_name"
android:textColor="#FFF"
android:textSize="22sp"
android:textStyle="bold" />
<TextView
android:id="@+id/changelog_label"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/changelog_app_name"
android:layout_toRightOf="@id/changelog_icon"
android:gravity="center"
android:text="@string/changelog"
android:textColor="#FFF"
android:textSize="20sp"
android:textStyle="bold" />
<!--
<TextView
android:id="@+id/changelog_web_url"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/changelog_label"
android:layout_toRightOf="@id/changelog_icon"
android:autoLink="web"
android:gravity="center"
android:text="http://s.evendanan.net/ask"
android:textColor="#BBB"
android:textSize="14sp" />
-->
<TextView
android:id="@+id/changelog_gplus"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/changelog_label"
android:layout_margin="4dp"
android:layout_toRightOf="@id/changelog_icon"
android:autoLink="web"
android:drawableLeft="@drawable/gplus"
android:text=" http://gplus.to/anysoftkeyboard"
android:textSize="12sp" >
</TextView>
<!--
<TextView
android:id="@+id/changelog_twitter"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/changelog_gplus"
android:layout_margin="4dp"
android:layout_toRightOf="@id/changelog_icon"
android:autoLink="web"
android:drawableLeft="@drawable/twitter"
android:text=" http://twitter.com/anysoftkeyboard"
android:textSize="12sp" >
</TextView>
-->
</RelativeLayout>
<LinearLayout android:id="@+id/close_button_layout" android:layout_width="fill_parent" android:layout_alignParentBottom="true"
android:layout_height="wrap_content" android:padding="4dp"
android:orientation="horizontal" android:weightSum="2" android:background="@drawable/tips_bottom_background">
<Button android:id="@+id/close_button"
android:layout_height="wrap_content" android:layout_width="0px" android:layout_weight="1" android:padding="8dp"
android:gravity="center" android:layout_gravity="center" android:text="@string/close_button"/>
</LinearLayout>
<CheckBox android:id="@+id/show_notifications_next_time" android:layout_above="@id/close_button_layout" android:text="@string/show_new_version_notifications_again" android:layout_width="fill_parent" android:layout_height="wrap_content"/>
<ScrollView android:layout_below="@id/changelog_title_layout" android:layout_above="@id/show_notifications_next_time" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1">
<LinearLayout android:id="@+id/change_logs_container"
android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
android:paddingLeft="12dp" android:paddingRight="12dp">
</LinearLayout>
</ScrollView>
</RelativeLayout>
<LinearLayout
android:id="@+id/close_button_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@drawable/tips_bottom_background"
android:orientation="horizontal"
android:padding="4dp"
android:weightSum="2" >
<Button
android:id="@+id/close_button"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:text="@string/close_button" />
</LinearLayout>
<CheckBox
android:id="@+id/show_notifications_next_time"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_above="@id/close_button_layout"
android:text="@string/show_new_version_notifications_again" />
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_above="@id/show_notifications_next_time"
android:layout_below="@id/changelog_title_layout" >
<LinearLayout
android:id="@+id/change_logs_container"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="12dp"
android:paddingRight="12dp" >
</LinearLayout>
</ScrollView>
</RelativeLayout>
Oops, something went wrong.

0 comments on commit 28e7fc0

Please sign in to comment.