Merge branch 'landscape_mode' into stom79_baseline
This commit is contained in:
commit
341d0dafe3
|
@ -13,7 +13,7 @@
|
|||
android:theme="@style/AppTheme"
|
||||
>
|
||||
<activity android:name=".MainActivity"
|
||||
android:screenOrientation="portrait"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
|
|
@ -30,9 +30,6 @@ import android.support.v7.widget.LinearLayoutManager;
|
|||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.webkit.WebView;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import org.eu.exodus_privacy.exodusprivacy.R;
|
||||
import org.eu.exodus_privacy.exodusprivacy.adapters.PermissionListAdapter;
|
||||
|
@ -44,7 +41,6 @@ import org.eu.exodus_privacy.exodusprivacy.objects.Report;
|
|||
import org.eu.exodus_privacy.exodusprivacy.objects.Tracker;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
|
@ -121,6 +117,7 @@ public class ReportFragment extends Fragment {
|
|||
|
||||
reportBinding.permissions.setLayoutManager(new LinearLayoutManager(context));
|
||||
PermissionListAdapter permissionAdapter = new PermissionListAdapter(requestedPermissions);
|
||||
reportBinding.permissions.setNestedScrollingEnabled(false);
|
||||
reportBinding.permissions.setAdapter(permissionAdapter);
|
||||
|
||||
|
||||
|
@ -147,6 +144,7 @@ public class ReportFragment extends Fragment {
|
|||
//setup trackers lists
|
||||
reportBinding.trackers.setLayoutManager(new LinearLayoutManager(context));
|
||||
TrackerListAdapter trackerAdapter = new TrackerListAdapter(trackers,R.layout.tracker_item);
|
||||
reportBinding.trackers.setNestedScrollingEnabled(false);
|
||||
reportBinding.trackers.setAdapter(trackerAdapter);
|
||||
|
||||
//setup creator
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:tools="http://schemas.android.com/tools"
|
||||
<layout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
>
|
||||
<data/>
|
||||
<RelativeLayout
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/base_info"
|
||||
|
@ -123,4 +126,5 @@
|
|||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
</ScrollView>
|
||||
</layout>
|
Loading…
Reference in New Issue