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.solarfighter.activities; | |
import java.io.IOException; | |
import java.net.InetAddress; | |
import javax.jmdns.JmDNS; | |
import javax.jmdns.ServiceEvent; | |
import javax.jmdns.ServiceListener; | |
import android.content.Context; |
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.mrm.emoji; | |
import java.util.HashMap; | |
import java.util.LinkedList; | |
import java.util.Map.Entry; | |
import android.content.Context; | |
import android.text.Spannable; | |
import android.text.SpannableStringBuilder; | |
import android.text.style.ImageSpan; | |
import com.mrm.emoji.R; | |
public class EmoticonUtils { |
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
<FrameLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<ImageView | |
android:id="@+id/image_header" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:scaleType="centerCrop" | |
android:src="@drawable/daft_punk"/> |
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"?> | |
<com.cyrilmottier.android.translucentactionbar.NotifyingScrollView | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/scroll_view" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" |
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.cyrilmottier.android.translucentactionbar; | |
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.widget.ScrollView; | |
/** | |
* @author Cyril Mottier | |
*/ | |
public class NotifyingScrollView extends ScrollView { |
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"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.cyrilmottier.android.translucentactionbar" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="14" | |
android:targetSdkVersion="17" /> |
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"?> | |
<resources> | |
<style name="Widget.ActionBar" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse"> | |
<item name="android:background">@drawable/ab_background</item> | |
</style> | |
<style name="Widget.ActionBar.Transparent"> | |
<item name="android:background">@android:color/transparent</item> | |
</style> | |
</resources> |
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"?> | |
<resources> | |
<style name="Theme.TranslucentActionBar" parent="@android:style/Theme.Holo.Light.DarkActionBar"> | |
<item name="android:actionBarStyle">@style/Widget.ActionBar</item> | |
</style> | |
<style name="Theme.TranslucentActionBar.ActionBar" /> | |
<style name="Theme.TranslucentActionBar.ActionBar.Overlay"> | |
<item name="android:actionBarStyle">@style/Widget.ActionBar.Transparent</item> |
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"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.cyrilmottier.android.translucentactionbar" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="14" | |
android:targetSdkVersion="17" /> |
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
private boolean mIsOverScrollEnabled = true; | |
public void setOverScrollEnabled(boolean enabled) { | |
mIsOverScrollEnabled = enabled; | |
} | |
public boolean isOverScrollEnabled() { | |
return mIsOverScrollEnabled; | |
} |
NewerOlder