fix overflow buttion view on non-button devices for Filebrowser-Config dialog
This commit is contained in:
parent
2338582e5f
commit
213025272e
@ -150,6 +150,9 @@ THE SOFTWARE.
|
||||
<activity
|
||||
android:name="TabOrderActivity"
|
||||
android:theme="@style/BackActionBar" />
|
||||
<activity android:name="FilebrowserStartActivity" />
|
||||
<activity
|
||||
android:name="FilebrowserStartActivity"
|
||||
android:theme="@style/BackActionBar" />
|
||||
|
||||
</application>
|
||||
</manifest>
|
||||
|
@ -29,6 +29,7 @@ import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.view.MenuItem;
|
||||
import android.view.Menu;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Button;
|
||||
import android.widget.AdapterView;
|
||||
@ -86,6 +87,24 @@ public class FilebrowserStartActivity extends PlaybackActivity {
|
||||
refreshDirectoryList();
|
||||
}
|
||||
|
||||
/*
|
||||
** Create a bare-bones actionbar
|
||||
*/
|
||||
@Override
|
||||
public boolean onCreateOptionsMenu(Menu menu) {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
public boolean onOptionsItemSelected(MenuItem item)
|
||||
{
|
||||
if (item.getItemId() == android.R.id.home) {
|
||||
finish();
|
||||
return true;
|
||||
} else {
|
||||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
** Enters selected directory at 'pos'
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user