mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-13 20:48:02 +01:00
This stuff has to be done before content gets added. Move into
Activity for now, though this may not work in dual-pane mode.
This commit is contained in:
parent
8c9e3ce14c
commit
3dd69d90d9
2 changed files with 4 additions and 5 deletions
|
@ -30,6 +30,9 @@ public class DwnldActivity extends XWActivity {
|
||||||
protected void onCreate( Bundle savedInstanceState )
|
protected void onCreate( Bundle savedInstanceState )
|
||||||
{
|
{
|
||||||
requestWindowFeature( Window.FEATURE_NO_TITLE );
|
requestWindowFeature( Window.FEATURE_NO_TITLE );
|
||||||
|
requestWindowFeature( Window.FEATURE_LEFT_ICON );
|
||||||
|
getWindow().setFeatureDrawableResource( Window.FEATURE_LEFT_ICON,
|
||||||
|
R.drawable.icon48x48 );
|
||||||
|
|
||||||
DwnldDelegate dlgt =
|
DwnldDelegate dlgt =
|
||||||
new DwnldDelegate( this, savedInstanceState );
|
new DwnldDelegate( this, savedInstanceState );
|
||||||
|
|
|
@ -249,10 +249,6 @@ public class DwnldDelegate extends ListDelegateBase {
|
||||||
Uri[] uris = null;
|
Uri[] uris = null;
|
||||||
LinearLayout item = null;
|
LinearLayout item = null;
|
||||||
|
|
||||||
requestWindowFeature( Window.FEATURE_LEFT_ICON );
|
|
||||||
m_activity.getWindow().setFeatureDrawableResource( Window.FEATURE_LEFT_ICON,
|
|
||||||
R.drawable.icon48x48 );
|
|
||||||
|
|
||||||
Intent intent = getIntent();
|
Intent intent = getIntent();
|
||||||
Uri uri = intent.getData(); // launched from Manifest case
|
Uri uri = intent.getData(); // launched from Manifest case
|
||||||
if ( null == uri ) {
|
if ( null == uri ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue