Use astrid logo as header of filter list activity

pull/14/head
Sam Bosley 14 years ago
parent e781bb3148
commit 3dd18c26b4

@ -22,15 +22,15 @@
android:src="@drawable/header_tasks" android:src="@drawable/header_tasks"
android:scaleType="center" /> android:scaleType="center" />
<!-- Title --> <!-- Header Logo -->
<TextView android:id="@+id/listLabel" <ImageView android:id="@+id/headerLogo"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:layout_weight="100" android:layout_weight="100"
android:gravity="center" android:gravity="center"
android:paddingRight="50dip" android:paddingRight="50dip"
android:text="@string/FLA_title" android:src="@drawable/header_logo"
style="@style/TextAppearance.TLA_Header"/> android:scaleType="center"/>
</LinearLayout> </LinearLayout>

@ -115,7 +115,7 @@ public class FilterListActivity extends ExpandableListActivity {
ImageView backButton = (ImageView) findViewById(R.id.back); ImageView backButton = (ImageView) findViewById(R.id.back);
if (!getIntent().getBooleanExtra(SHOW_BACK_BUTTON, true)) { if (!getIntent().getBooleanExtra(SHOW_BACK_BUTTON, true)) {
backButton.setVisibility(View.GONE); backButton.setVisibility(View.GONE);
findViewById(R.id.listLabel).setPadding(0, 0, 0, 0); findViewById(R.id.headerLogo).setPadding(0, 0, 0, 0);
} }
setDefaultKeyMode(DEFAULT_KEYS_SEARCH_LOCAL); setDefaultKeyMode(DEFAULT_KEYS_SEARCH_LOCAL);

Loading…
Cancel
Save