-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get rid of those gad-awful buttons, replace with ActionBar
- Loading branch information
Showing
4 changed files
with
47 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:orientation="vertical" > | ||
|
||
<ListView | ||
android:id="@android:id/list" | ||
android:layout_width="match_parent" | ||
android:layout_height="0dip" | ||
android:layout_weight="0.97" > | ||
</ListView> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/TabbishButtonHeight" | ||
android:gravity="right" > | ||
|
||
<Button | ||
android:id="@+id/newestGlobalButton" | ||
android:layout_width="wrap_content" | ||
android:layout_height="@dimen/TabbishButtonHeight" | ||
android:layout_margin="@dimen/TabbishButtonMargin" | ||
android:minWidth="@dimen/TabbishButtonMinWidth" | ||
android:textSize="@dimen/TabbishButtonFontSize" | ||
android:text="@string/button_newest_global_text"/> | ||
|
||
<Button | ||
android:id="@+id/newestUserButton" | ||
android:layout_width="wrap_content" | ||
android:layout_height="@dimen/TabbishButtonHeight" | ||
android:layout_margin="@dimen/TabbishButtonMargin" | ||
android:minWidth="@dimen/TabbishButtonMinWidth" | ||
android:textSize="@dimen/TabbishButtonFontSize" | ||
android:text="@string/button_newest_user_text" /> | ||
|
||
<Button | ||
android:id="@+id/settingsButton" | ||
android:layout_width="wrap_content" | ||
android:layout_height="@dimen/TabbishButtonHeight" | ||
android:layout_margin="@dimen/TabbishButtonMargin" | ||
android:minWidth="@dimen/TabbishButtonMinWidth" | ||
android:textSize="@dimen/TabbishButtonFontSize" | ||
android:text="@string/button_settings_text" /> | ||
</LinearLayout> | ||
|
||
</LinearLayout> | ||
<ListView xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@android:id/list" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
</ListView> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<menu xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:id="@+id/action_everyones_recent" | ||
android:title="@string/button_newest_global_text" | ||
android:showAsAction="ifRoom"/> | ||
<item android:id="@+id/action_recent" | ||
android:title="@string/button_newest_user_text" | ||
android:showAsAction="ifRoom"/> | ||
<item android:id="@+id/action_settings" | ||
android:title="@string/button_settings_text" /> | ||
</menu> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters