mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 22:22:10 +08:00
Autodetect legacy/material
This commit is contained in:
@@ -21,6 +21,9 @@ public class ShortcutActivity extends Activity
|
||||
protected void onCreate(Bundle bundle)
|
||||
{
|
||||
super.onCreate(bundle);
|
||||
//material dialog
|
||||
if ( Build.VERSION.SDK_INT >= 21 )
|
||||
super.setTheme( 0x01030225 );
|
||||
setContentView(R.layout.activity_shortcut);
|
||||
Intent intent=getIntent();
|
||||
name = (EditText)findViewById(R.id.shortcut_name);
|
||||
|
||||
Reference in New Issue
Block a user