mirror of
				https://github.com/bspeice/itcs4180
				synced 2025-11-04 02:10:32 -05:00 
			
		
		
		
	Added default of INVISIBLE to result button
This commit is contained in:
		@ -48,6 +48,7 @@
 | 
			
		||||
            android:id="@+id/btnViewResult"
 | 
			
		||||
            android:layout_width="match_parent"
 | 
			
		||||
            android:layout_height="wrap_content"
 | 
			
		||||
            android:visibility="invisible"
 | 
			
		||||
            android:text="@string/btnViewResult" />
 | 
			
		||||
 | 
			
		||||
        <LinearLayout
 | 
			
		||||
 | 
			
		||||
@ -57,7 +57,7 @@ public class SearchActivity extends Activity {
 | 
			
		||||
		
 | 
			
		||||
		locationText.setText(restLocation.getName());
 | 
			
		||||
		riddleView.setText(restLocation.getRiddle());
 | 
			
		||||
		if (restLocation.getKey() != null) {
 | 
			
		||||
		if (restLocation.getKey() != null && restLocation.getKey().compareTo("")!=0) {
 | 
			
		||||
			resultButton.setVisibility(View.VISIBLE);
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user