文件名称:瀑布流demo
文件大小:2.42MB
文件格式:RAR
更新时间:2018-06-07 09:30:54
android 瀑布流
public void setup() { containerLayout = new LinearLayout(getContext()); containerLayout.setBackgroundColor(Color.WHITE); LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT); addView(containerLayout, layoutParams); for (int i = 0; i < colCount; i++) { LinearLayout colLayout = new LinearLayout(getContext()); LinearLayout.LayoutParams colLayoutParams = new LinearLayout.LayoutParams( colWidth, LinearLayout.LayoutParams.WRAP_CONTENT); colLayout.setPadding(2, 2, 2, 2); colLayout.setOrientation(LinearLayout.VERTICAL); containerLayout.addView(colLayout, colLayoutParams); colLayoutArray.add(colLayout); } try { imageFilePaths = getContext().getAssets().list("images"); } catch (IOException e) { e.printStackTrace(); } addNextPageContent(true); }
【文件预览】:
WaterFall
----bin()
--------res()
--------classes()
--------AndroidManifest.xml(1KB)
----res()
--------drawable-ldpi()
--------values-v11()
--------menu()
--------values-v14()
--------drawable-hdpi()
--------drawable-xhdpi()
--------values()
--------drawable-mdpi()
--------layout()
----proguard-project.txt(781B)
----ic_launcher-web.png(54KB)
----assets()
--------images()
----gen()
--------com()
----.DS_Store(6KB)
----.settings()
--------org.eclipse.core.resources.prefs(57B)
--------org.eclipse.jdt.core.prefs(177B)
----src()
--------com()
----.project(845B)
----.classpath(459B)
----project.properties(563B)
----AndroidManifest.xml(1KB)
----libs()
--------android-support-v4.jar(377KB)
--------Jatec2_fat.jar(28KB)