mirror of
				https://github.com/SimpleMobileTools/Simple-Flashlight.git
				synced 2025-06-05 21:59:19 +02:00 
			
		
		
		
	add a Google Plus link in About section
This commit is contained in:
		@@ -73,4 +73,10 @@ public class AboutActivity extends AppCompatActivity {
 | 
			
		||||
        }
 | 
			
		||||
        startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(link)));
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @OnClick(R.id.about_gplus)
 | 
			
		||||
    public void googlePlusClicked() {
 | 
			
		||||
        final String link = "https://plus.google.com/communities/104880861558693868382";
 | 
			
		||||
        startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(link)));
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -55,6 +55,15 @@
 | 
			
		||||
        android:layout_below="@+id/about_follow_us"
 | 
			
		||||
        android:src="@mipmap/facebook"/>
 | 
			
		||||
 | 
			
		||||
    <ImageView
 | 
			
		||||
        android:id="@+id/about_gplus"
 | 
			
		||||
        android:layout_width="@dimen/social_logo"
 | 
			
		||||
        android:layout_height="@dimen/social_logo"
 | 
			
		||||
        android:layout_below="@+id/about_follow_us"
 | 
			
		||||
        android:layout_marginLeft="@dimen/social_padding"
 | 
			
		||||
        android:layout_toRightOf="@+id/about_facebook"
 | 
			
		||||
        android:src="@mipmap/gplus"/>
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/about_version"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/mipmap-hdpi/gplus.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/mipmap-hdpi/gplus.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 2.5 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/mipmap-mdpi/gplus.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/mipmap-mdpi/gplus.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 1.6 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/mipmap-xhdpi/gplus.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/mipmap-xhdpi/gplus.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 3.1 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/mipmap-xxhdpi/gplus.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/mipmap-xxhdpi/gplus.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 5.5 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								app/src/main/res/mipmap-xxxhdpi/gplus.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/src/main/res/mipmap-xxxhdpi/gplus.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 6.2 KiB  | 
		Reference in New Issue
	
	Block a user