mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-11 08:48:06 +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 )
|
||||
{
|
||||
requestWindowFeature( Window.FEATURE_NO_TITLE );
|
||||
requestWindowFeature( Window.FEATURE_LEFT_ICON );
|
||||
getWindow().setFeatureDrawableResource( Window.FEATURE_LEFT_ICON,
|
||||
R.drawable.icon48x48 );
|
||||
|
||||
DwnldDelegate dlgt =
|
||||
new DwnldDelegate( this, savedInstanceState );
|
||||
|
|
|
@ -249,10 +249,6 @@ public class DwnldDelegate extends ListDelegateBase {
|
|||
Uri[] uris = null;
|
||||
LinearLayout item = null;
|
||||
|
||||
requestWindowFeature( Window.FEATURE_LEFT_ICON );
|
||||
m_activity.getWindow().setFeatureDrawableResource( Window.FEATURE_LEFT_ICON,
|
||||
R.drawable.icon48x48 );
|
||||
|
||||
Intent intent = getIntent();
|
||||
Uri uri = intent.getData(); // launched from Manifest case
|
||||
if ( null == uri ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue