1. orleonsoft
  2. BarcampMed Android

Commits

Yesid Lazaro Mayoriano  committed 85d2662

eliminados imports no usados , agregado refresh en action bar del home

  • Participants
  • Parent commits 8147b89
  • Branches master

Comments (0)

Files changed (5)

File Barcamp/res/layout/details_unconference_screen.xml

View file
  • Ignore whitespace
         android:layout_height="wrap_content"
         android:layout_below="@+id/action_bar"
         android:background="@android:color/black"
+        android:scrollbars="none"
         android:padding="5dp" >
 
         <RelativeLayout

File Barcamp/res/layout/salas_panel.xml

View file
  • Ignore whitespace
         android:layout_height="match_parent"
         android:layout_below="@+id/img_prog_logo"
         android:layout_marginTop="10dp"
-        android:drawSelectorOnTop="false" />
+        android:drawSelectorOnTop="false"
+        
+         />
 
 </RelativeLayout>

File Barcamp/src/com/orleonsoft/android/barcamp/AppsConstants.java

View file
  • Ignore whitespace
 package com.orleonsoft.android.barcamp;
 
-import com.orleonsoft.android.barcampmed.R;
-
 /**
  * Archivo: AppsConstants.java Autor:Yesid Lazaro lazaro.yesid@gmail.com /
  * https://twitter.com/ingyesid Fecha:10/07/2012

File Barcamp/src/com/orleonsoft/android/barcamp/HomeActivity.java

View file
  • Ignore whitespace
 import android.view.View;
 import android.view.View.OnClickListener;
 import android.widget.ImageView;
+import android.widget.Toast;
 
 import com.orleonsoft.android.barcamp.database.BDAdapter;
 import com.orleonsoft.android.barcamp.network.JSONParser;
 	
 	ImageView butActionShare;
 	ImageView butActionAbout;
+	ImageView butActionRefresh;
 
 	@Override
 	public void onCreate(Bundle savedInstanceState) {
 		
 		butActionAbout=(ImageView)findViewById(R.id.but_action_about);
 		butActionShare=(ImageView)findViewById(R.id.but_action_share);
+		butActionRefresh=(ImageView)findViewById(R.id.but_action_refresh);
+		
+		butActionRefresh.setVisibility(View.VISIBLE);
+		
 		
 		butActionAbout.setOnClickListener(this);
 		butActionShare.setOnClickListener(this);
+		butActionRefresh.setOnClickListener(this);
 
 			
 		mListSalasFragment = new ListSalasFragment();
 		case R.id.but_action_share:
 			Utils.share(HomeActivity.this, AppsConstants.SHARE_SUBJECT, AppsConstants.SHARE_MSJ+" "+AppsConstants.LINK_PLAY_STORE);
 			break;
+			
+		case R.id.but_action_refresh:
+			Toast.makeText(HomeActivity.this, "Pulso refresh", Toast.LENGTH_SHORT).show();
+			break;
 
 		default:
 			break;

File Barcamp/src/com/orleonsoft/android/barcamp/PagerAdapter.java

View file
  • Ignore whitespace
 import android.support.v4.app.Fragment;
 import android.support.v4.app.FragmentManager;
 import android.support.v4.app.FragmentPagerAdapter;
-import com.orleonsoft.android.barcampmed.R;
 
 
 public class PagerAdapter extends FragmentPagerAdapter{
 	}
 	
 	
-	
-	
 	@Override
 	public int getCount() {
 		return fragments.size();