Layout fixes
This commit is contained in:
		
							
								
								
									
										7
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										7
									
								
								.idea/misc.xml
									
									
									
										generated
									
									
									
								
							| @@ -1,5 +1,12 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <project version="4"> | ||||
|   <component name="DesignSurface"> | ||||
|     <option name="filePathToZoomLevelMap"> | ||||
|       <map> | ||||
|         <entry key="app/src/main/res/layout/item_geofav.xml" value="0.5307291666666667" /> | ||||
|       </map> | ||||
|     </option> | ||||
|   </component> | ||||
|   <component name="ExternalStorageConfigurationManager" enabled="true" /> | ||||
|   <component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK" /> | ||||
| </project> | ||||
| @@ -51,7 +51,6 @@ import it.danieleverducci.nextcloudmaps.activity.detail.GeofavoriteDetailActivit | ||||
| import it.danieleverducci.nextcloudmaps.activity.login.LoginActivity; | ||||
| import it.danieleverducci.nextcloudmaps.activity.main.NavigationAdapter.NavigationItem; | ||||
| import it.danieleverducci.nextcloudmaps.activity.main.SortingOrderDialogFragment.OnSortingOrderListener; | ||||
| import it.danieleverducci.nextcloudmaps.api.ApiProvider; | ||||
| import it.danieleverducci.nextcloudmaps.model.Geofavorite; | ||||
|  | ||||
| import static android.view.View.GONE; | ||||
| @@ -86,8 +85,6 @@ public class MainActivity extends AppCompatActivity implements MainView, OnSorti | ||||
|  | ||||
|     NavigationAdapter navigationCommonAdapter; | ||||
|  | ||||
|     private ApiProvider mApi; | ||||
|  | ||||
|     @Override | ||||
|     protected void onCreate(Bundle savedInstanceState) { | ||||
|         super.onCreate(savedInstanceState); | ||||
| @@ -184,8 +181,6 @@ public class MainActivity extends AppCompatActivity implements MainView, OnSorti | ||||
|  | ||||
|         updateSortingIcon(sortRule); | ||||
|         updateGridIcon(gridViewEnabled); | ||||
|  | ||||
|         mApi = new ApiProvider(getApplicationContext()); | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|   | ||||
| @@ -21,7 +21,8 @@ | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:orientation="horizontal" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="wrap_content" | ||||
|     android:layout_height="90dp" | ||||
|     android:gravity="center_vertical" | ||||
|     android:padding="12dp" | ||||
|     android:clickable="true" | ||||
|     android:focusable="true"> | ||||
| @@ -59,7 +60,7 @@ | ||||
|             android:layout_marginTop="5dp" | ||||
|             android:textSize="@dimen/note_font_size_item_content" | ||||
|             android:maxLines="2" | ||||
|             android:lines="2" | ||||
|             android:gravity="center_vertical" | ||||
|             tools:text="@tools:sample/lorem/random"> | ||||
|         </TextView> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user