This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainActivity extends AppCompatActivity implements PlaceListFragment.Callback { | |
private boolean mTwoPane = false; | |
private String LOG_TAG = MainActivity.class.getSimpleName(); | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
if (findViewById(R.id.place_detail_container) != null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
En Windows | |
Pulsar en Mi PC (o pulsar Windows + Pausa) > Configuraciones Avanzadas de Sistema > Variables de Entorno. | |
Pulsar en Nuevo. | |
Como nombre de la variable, escribir: ANDROID_HVPROTO | |
Como valor valor del campo, escribir: ddm | |
Pulsar Aceptar | |
En Mac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
> | |
<ImageView | |
android:layout_width="200dp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var CUSTOMER_ID = 2; | |
var SOURCE_TEMPLATE = "1YsSNl__rJon39zDyEnrmfJezc7JdAtAPPCPWj9iZGXo"; | |
var CUSTOMER_SPREADSHEET = "1X7WDMsqHotSTnobp57wiw4_I7Zcn6RdvOhBVpUX85-M"; | |
var TARGET_FOLDER = "0ByGfFMPl-WggaGw5ejFFTGgxajg"; | |
function getRowAsArray(sheet, row, numRows) { | |
var dataRange = sheet.getRange(row, 1, numRows, 99); | |
var data = dataRange.getValues(); | |
var columns = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub configure_animations() | |
Dim oshp As Shape | |
Dim osld As Slide | |
Set oshp = ActiveWindow.Selection.ShapeRange(1) | |
Set osld = Application.ActiveWindow.View.Slide | |
' Add entering effect to shape oshp | |
osld.TimeLine.MainSequence.AddEffect oshp, msoAnimEffectFade, , msoAnimTriggerOnPageClick | |
' Apply the same effect but set Exiting flag on TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.android.application' | |
apply plugin: 'kotlin-android' | |
android { | |
compileSdkVersion 23 | |
buildToolsVersion "23.0.2" | |
defaultConfig { | |
applicationId "pe.androidperu.kotlinproyectobase" | |
minSdkVersion 19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:paddingBottom="@dimen/activity_vertical_margin" | |
android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
tools:context=".activities.MainActivity"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.devpicon.android.firebasesamples.activities; | |
import android.os.Bundle; | |
import android.support.v7.app.AppCompatActivity; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.Button; | |
import android.widget.EditText; | |
import android.widget.TextView; | |
import android.widget.Toast; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:paddingBottom="@dimen/activity_vertical_margin" | |
android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
tools:context=".activities.Main2Activity"> |
OlderNewer