[Android] Action bar: change the header VLC icon to a wonderful cone and remove the inserted padding
Adrien Maglo
git at videolan.org
Fri Dec 6 17:36:08 CET 2013
vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Dec 6 17:12:35 2013 +0100| [968bdbb1c53d4c442ebd452990db98e97e9603bc] | committer: Adrien Maglo
Action bar: change the header VLC icon to a wonderful cone and remove the inserted padding
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=968bdbb1c53d4c442ebd452990db98e97e9603bc
---
vlc-android/AndroidManifest.xml | 2 +-
vlc-android/src/org/videolan/vlc/gui/MainActivity.java | 7 -------
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 33cd35f..8fe2421 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -21,7 +21,7 @@
android:name="org.videolan.vlc.VLCApplication"
android:debuggable="true"
android:icon="@drawable/icon"
- android:logo="@drawable/header_logo"
+ android:logo="@drawable/icon"
android:label="@string/app_name"
android:theme="@style/Theme.VLC.NoTitleBar"
android:hardwareAccelerated="true" >
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 28868e8..26e4f7b 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -70,7 +70,6 @@ import android.widget.AdapterView.OnItemClickListener;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
-import android.widget.ImageView;
import android.widget.ListView;
import android.widget.ProgressBar;
import android.widget.TextView;
@@ -286,12 +285,6 @@ public class MainActivity extends SherlockFragmentActivity {
mActionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
mActionBar.setDisplayOptions(0, ActionBar.DISPLAY_SHOW_TITLE);
mActionBar.setDisplayHomeAsUpEnabled(true);
-
- /* Add padding between the home button and the arrow */
- ImageView home = (ImageView)findViewById(Util.isHoneycombOrLater()
- ? android.R.id.home : R.id.abs__home);
- if (home != null)
- home.setPadding(20, 0, 0, 0);
}
@Override
More information about the Android
mailing list