Merge pull request #3267 from libliboom/develop

Removed screenOrientation attributes in manifest
This commit is contained in:
H. Lehmann 2019-07-14 14:40:33 +02:00 committed by GitHub
commit 539802ba04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 10 deletions

View File

@ -318,8 +318,7 @@
<activity <activity
android:name=".activity.gpoddernet.GpodnetAuthenticationActivity" android:name=".activity.gpoddernet.GpodnetAuthenticationActivity"
android:configChanges="orientation" android:configChanges="orientation"
android:label="@string/gpodnet_auth_label" android:label="@string/gpodnet_auth_label">
android:screenOrientation="portrait">
<intent-filter> <intent-filter>
<action android:name=".activity.gpoddernet.GpodnetAuthenticationActivity"/> <action android:name=".activity.gpoddernet.GpodnetAuthenticationActivity"/>
<category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.DEFAULT"/>

View File

@ -104,10 +104,6 @@ public class GpodnetAuthenticationActivity extends AppCompatActivity {
return super.onOptionsItemSelected(item); return super.onOptionsItemSelected(item);
} }
@Override
public void onConfigurationChanged(Configuration newConfig) {
}
private void setupLoginView(View view) { private void setupLoginView(View view) {
final EditText username = view.findViewById(R.id.etxtUsername); final EditText username = view.findViewById(R.id.etxtUsername);
final EditText password = view.findViewById(R.id.etxtPassword); final EditText password = view.findViewById(R.id.etxtPassword);

View File

@ -36,7 +36,7 @@
android:cursorVisible="true" android:cursorVisible="true"
android:maxLines="1" android:maxLines="1"
android:inputType="text" android:inputType="text"
android:imeOptions="actionNext" android:imeOptions="actionNext|flagNoFullscreen"
android:nextFocusForward="@id/etxtPassword"/> android:nextFocusForward="@id/etxtPassword"/>
<EditText <EditText
@ -50,7 +50,7 @@
android:focusable="true" android:focusable="true"
android:focusableInTouchMode="true" android:focusableInTouchMode="true"
android:cursorVisible="true" android:cursorVisible="true"
android:imeOptions="actionGo" android:imeOptions="actionGo|flagNoFullscreen"
android:imeActionLabel="@string/gpodnetauth_login_butLabel"/> android:imeActionLabel="@string/gpodnetauth_login_butLabel"/>
<Button <Button

View File

@ -30,7 +30,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint="@string/gpodnetauth_device_caption" android:hint="@string/gpodnetauth_device_caption"
android:layout_below="@id/txtvDescription" android:layout_below="@id/txtvDescription"
android:layout_margin="8dp"/> android:layout_margin="8dp"
android:imeOptions="flagNoFullscreen"/>
<TextView <TextView
android:id="@+id/txtvDeviceID" android:id="@+id/txtvDeviceID"
@ -53,7 +54,8 @@
android:layout_toEndOf="@id/txtvDeviceID" android:layout_toEndOf="@id/txtvDeviceID"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_margin="8dp"/> android:layout_margin="8dp"
android:imeOptions="flagNoFullscreen"/>
<Button <Button
android:id="@+id/butCreateNewDevice" android:id="@+id/butCreateNewDevice"